<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>错误页面</title>
</head>
<body>
<h1>出错了</h1>
 <div th:text="${ex.message}"></div>
</body>
</html>